package com.example.oj.mapper;

import com.example.oj.entity.SysEnums;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author mingjianyun
* @description 针对表【sys_enums】的数据库操作Mapper
* @createDate 2024-03-11 11:23:22
* @Entity com.example.oj.entity.SysEnums
*/
@Mapper
public interface SysEnumsMapper extends BaseMapper<SysEnums> {

  @MapKey("id")
  public List<Map<String, Object>> getEnumsList(@Param("type") String type);
}




